python limit float to 2 decimal places

34

answer = str(round(answer, 2))

Comments

Submit
0 Comments